diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-12-16 14:24:28 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-12-16 14:24:28 +0000 |
| commit | 9458a3b5676bc78eac5807a878b9d8536035d6e2 (patch) | |
| tree | f8b7f17f7253f92ebf3e5ee18df17e51f36b8a34 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 355a31d207a28d66a03351498fefe33b4c358c95 (diff) | |
Make closures GC objects
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 3 insertions, 3 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 312c3100..d05ee160 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -41,12 +41,12 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__User__0") (struct (function-ptr (struct ()) (struct ())))) + (alloc-heap (local "closurePointer__User__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))) ( memory-store pointer=(local "closurePointer__User__0") - layout=(struct (function-ptr (struct ()) (struct ()))) - offset=(0) + layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))) + offset=(1 0) value=(function-ptr "shed__function__User__0") ) (data-ptr-to-int (local "structType__User__0") (local "closurePointer__User__0")) |
